package com.dkhseep.bigevent.service;

import com.dkhseep.bigevent.pojo.User;

public interface UserService {
    public User findUserByUsername(String username);

    public void register(String username, String password);

    void updateuser(User user);

    void updateUserAvatar(String avatarUrl);

    boolean JudgeOldPassword(String old_pwd);

    boolean JudgeNew_RePassowrd(String new_pwd, String re_pwd);
    void updateUserPassword(String new_pwd);

    void deletetoken();

    String gettoken(User user);
}
